Termination w.r.t. Q of the following Term Rewriting System could not be shown:

Q restricted rewrite system:
The TRS R consists of the following rules:

app(app(app(fold, f), x), nil) → x
app(app(app(fold, f), x), app(app(cons, y), z)) → app(app(f, y), app(app(app(fold, f), x), z))
app(app(plus, 0), y) → y
app(app(plus, app(s, x)), y) → app(s, app(app(plus, x), y))
app(app(times, 0), y) → 0
app(app(times, app(s, x)), y) → app(app(plus, app(app(times, x), y)), y)
sumapp(app(fold, add), 0)
prodapp(app(fold, mul), app(s, 0))

Q is empty.


QTRS

Q restricted rewrite system:
The TRS R consists of the following rules:

app(app(app(fold, f), x), nil) → x
app(app(app(fold, f), x), app(app(cons, y), z)) → app(app(f, y), app(app(app(fold, f), x), z))
app(app(plus, 0), y) → y
app(app(plus, app(s, x)), y) → app(s, app(app(plus, x), y))
app(app(times, 0), y) → 0
app(app(times, app(s, x)), y) → app(app(plus, app(app(times, x), y)), y)
sumapp(app(fold, add), 0)
prodapp(app(fold, mul), app(s, 0))

Q is empty.